package com.fuyao.cloud.admin.flow.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fuyao.cloud.admin.flow.model.CommentInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 */
@Mapper
public interface ICommentInfoMapper extends BaseMapper<CommentInfo> {

    /**
     * 通过流程实例id获取审批意见列表
     * @param processInstanceId 流程实例id
     * @return
     */
    List<CommentInfo> getCommentInfosByProcessInstanceId(String processInstanceId) ;
}
